package sort;

public class Choice {

	public static void main(String[] args) {
		int[] score = { 87, 45, 23, 90, 100 };

		for (int j = 0; j < score.length - 1; j++) {
			for (int i = j + 1; i < score.length; i++) {
				if (score[j] < score[i]) {
					int t = score[j];
					score[j] = score[i];
					score[i] = t;
				}
			}
		}

		for (int i : score) {
			System.out.println(i + " ");
		}
	}
}
